/**
 * 
 */
package data.model;

import data.ProjectCharacteristicsProvider;

/**

 * 
 */
public class ProjectCharacteristics implements ProjectCharacteristicsProvider {
	private int numberOfTasks;
	private int numberOfBugs;
	private int linesOfCode;
	private int numberOfComponents;
	private int numberOfTestCases;
	private double percentageOfSuccessfulTests;
	private double percentageOfCodeCoverage;

	/**
	 * @param numberOfTasks
	 * @param numberOfBugs
	 * @param linesOfCode
	 * @param numberOfComponents
	 * @param numberOfTestCases
	 * @param percentageOfSuccessfulTests
	 * @param percentageOfCodeCoverage
	 */
	public ProjectCharacteristics(int numberOfTasks, int numberOfBugs,
			int linesOfCode, int numberOfComponents, int numberOfTestCases,
			double percentageOfSuccessfulTests, double percentageOfCodeCoverage) {
		super();
		this.numberOfTasks = numberOfTasks;
		this.numberOfBugs = numberOfBugs;
		this.linesOfCode = linesOfCode;
		this.numberOfComponents = numberOfComponents;
		this.numberOfTestCases = numberOfTestCases;
		this.percentageOfSuccessfulTests = percentageOfSuccessfulTests;
		this.percentageOfCodeCoverage = percentageOfCodeCoverage;
	}

	/**
	 * @return the numberOfTasks
	 */
	@Override
	public int getNumberOfTasks() {
		return numberOfTasks;
	}

	/**
	 * @param numberOfTasks
	 *            the numberOfTasks to set
	 */
	public void setNumberOfTasks(int numberOfTasks) {
		this.numberOfTasks = numberOfTasks;
	}

	/**
	 * @return the numberOfBugs
	 */
	@Override
	public int getNumberOfBugs() {
		return numberOfBugs;
	}

	/**
	 * @param numberOfBugs
	 *            the numberOfBugs to set
	 */
	public void setNumberOfBugs(int numberOfBugs) {
		this.numberOfBugs = numberOfBugs;
	}

	/**
	 * @return the linesOfCode
	 */
	@Override
	public int getLinesOfCode() {
		return linesOfCode;
	}

	/**
	 * @param linesOfCode
	 *            the linesOfCode to set
	 */
	public void setLinesOfCode(int linesOfCode) {
		this.linesOfCode = linesOfCode;
	}

	/**
	 * @return the numberOfComponents
	 */
	@Override
	public int getNumberOfComponents() {
		return numberOfComponents;
	}

	/**
	 * @param numberOfComponents
	 *            the numberOfComponents to set
	 */
	public void setNumberOfComponents(int numberOfComponents) {
		this.numberOfComponents = numberOfComponents;
	}

	/**
	 * @return the numberOfTestCases
	 */
	@Override
	public int getNumberOfTestCases() {
		return numberOfTestCases;
	}

	/**
	 * @param numberOfTestCases
	 *            the numberOfTestCases to set
	 */
	public void setNumberOfTestCases(int numberOfTestCases) {
		this.numberOfTestCases = numberOfTestCases;
	}

	/**
	 * @return the percentageOfSuccessfulTests
	 */
	@Override
	public double getPercentageOfSuccessfulTests() {
		return percentageOfSuccessfulTests;
	}

	/**
	 * @param percentageOfSuccessfulTests
	 *            the percentageOfSuccessfulTests to set
	 */
	public void setPercentageOfSuccessfulTests(
			double percentageOfSuccessfulTests) {
		this.percentageOfSuccessfulTests = percentageOfSuccessfulTests;
	}

	/**
	 * @return the percentageOfCodeCoverage
	 */
	@Override
	public double getPercentageOfCodeCoverage() {
		return percentageOfCodeCoverage;
	}

	/**
	 * @param percentageOfCodeCoverage
	 *            the percentageOfCodeCoverage to set
	 */
	public void setPercentageOfCodeCoverage(double percentageOfCodeCoverage) {
		this.percentageOfCodeCoverage = percentageOfCodeCoverage;
	}
}
